/**
 * Created with IntelliJ IDEA.
 * ClassName: Client
 * Package: PACKAGE_NAME
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-06-15
 * Time: 11:55
 */

public class Client {
    public static void main(String[] args) {
        FunctionButton fb = new FunctionButton();
        Command exitCommand = new ExitCommand();
        fb.setCommand(exitCommand);
        fb.click();

        FunctionButton fb1 = new FunctionButton();
        Command helepCommand = new HelpCommand();
        fb.setCommand(helepCommand);
        fb.click();
    }
}